package com.dongdong.api;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("dongdong-rocketmq-service")
public interface RocketMQAPI {

    @GetMapping("/message/sendMessage")
    public void  sendMessage (@RequestParam String phone);
}
